package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.SkuItemVo;
import com.atguigu.gulimall.product.vo.SpuItemAttrGroupVo;
import com.atguigu.gulimall.product.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SpuInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * spu信息
 *
 * @author lihaojie
 * @email lihaojie@gmail.com
 * @date 2023-10-29 22:23:02
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);
    
    void saveSpuInfo(SpuSaveVo spuSaveVo);
    
    void saveSpuBaseInfo(SpuInfoEntity spuInfoEntity);
    
    PageUtils queryPageByCondition(Map<String, Object> params);
    
    
    void productUpper(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

